package com.zscbw.test;
class S {}
public class IsInstance {
	public static void main(String[] args) {
		try {
			Class<?> c = Class.forName("com.zscbw.test.S");
			boolean b1 = c.isInstance(new Integer(37));
			System.out.println(b1);
			boolean b2 = c.isInstance(new S());
			System.out.println(b2);
		} catch (ClassNotFoundException e) {
			throw new RuntimeException(e);
		}
	}
}
